package net.vkits.anjiamiao.domain.model;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Created by ethan-liu on 2016/12/24.
 */
public enum ContractStatus {
    PoorPhoto(0,"照片模糊"), TooManyTimes(1,"房东频繁收款"), WrongInfo(2,"房东与合同信息不符"), Verified(3,"已补全"), Init(4,"待补全");
    private final int code;
    private final String value;

    ContractStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return this.value;
    }

    public int getCode() {
        return this.code;
    }
}
